<script setup lang="ts">
defineProps({
    prex: {
        type: String,
        default: '#icon-'
    },
    name: {
        type: String,
        default: ''
    },
    color: {
        type: String,
        default: ''
    },
    width: {
        type: String,
        default: '16px'
    },
    height: {
        type: String,
        default: '16px'
    }
})
</script>

<template>
    <svg :style="{ width, height }">
        <use :xlink:href="prex + name" :fill="color"></use>
    </svg>
   
</template>

<style lang="scss" scoped>

</style>